package com.itheima.pojo.sms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SmsFlashPromotionProductRelation implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 编号
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  private Long flashPromotionId;

  /**
   * 编号
   */
  private Long flashPromotionSessionId;

  private Long productId;

  /**
   * 限时购价格
   */
  private BigDecimal flashPromotionPrice;

  /**
   * 限时购数量
   */
  private Integer flashPromotionCount;

  /**
   * 每人限购数量
   */
  private Integer flashPromotionLimit;

  /**
   * 排序
   */
  private Integer sort;

}
